package com.gitee.faster.webdav.common.constant;

import lombok.Getter;

/**
 * @author hongda.li
 */
@Getter
public enum HttpStatusEnum {

    OK(200, "HTTP/1.1 200 OK"),

    FORBIDDEN(403, "HTTP/1.1 403 Forbidden"),

    NOT_FOUND(404, "HTTP/1.1 404 Not Found"),;

    private final int code;

    private final String message;

    HttpStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
